home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Format CD 49
/
Amiga Format CD49 (2000-01-17)(Future Publishing)(GB)(Track 1 of 3)[!][issue 2000-02].iso
/
-in_the_mag-
/
pdselect
/
ttflib
/
ttflib68020
/
install-ttflib
< prev
next >
Wrap
Text File
|
1999-09-22
|
2KB
|
93 lines
; install ttflib package
(if (patmatch "(68000|68010)" (database "cpu"))
(abort "A 68020 or above processor is required for this version" )
)
(set #lib-dest
(askdir
(prompt "Enter Drawer where ttf.library should be installed?")
(help @askdir-help)
(default "Libs:")
)
)
(set #tool-def (cat @default-dest "ttftools"))
(set #tool-dest
(askdir
(prompt "Enter Drawer where the ttflib tools should be installed? A new drawer will be created only if the drawer entered does not exist")
(help @askdir-help)
(default (cat @default-dest "ttftools"))
(newpath)
)
)
(set #help-dest
(askdir
(prompt "Enter Drawer where the documentation should be installed?")
(help @askdir-help)
(default #tool-dest)
(newpath)
)
)
(set #need-path (NOT(exists #tool-dest (noreq))))
(set @default-dest (#tool-dest))
(copylib
(prompt "Installing ttf.library")
(help @copylib-help)
(source "ttf.library")
(dest #lib-dest)
(confirm)
)
(copyfiles
(prompt "Copying ttfmanager")
(help @copyfiles-help)
(source "ttfmanager")
(dest #tool-dest)
(files)
(confirm)
)
(copyfiles
(prompt "Copying ttfmanager icon")
(help @copyfiles-help)
(source "ttfmanager.info")
(dest #tool-dest)
(files)
(confirm)
)
(copyfiles
(prompt "Copying optional utilites")
(help @copyfiles-help)
(source "")
(choices "ttfinstall" "ttflist" "ttfcp" "ftview" "bitline")
(dest #tool-dest)
(files)
(confirm)
)
(copyfiles
(prompt "Copying ttflib.guide")
(help @copyfiles-help)
(source "ttflib.guide")
(dest #help-dest)
(files)
(infos)
(confirm)
)
;(if #need-path
; (startup "ttflib"
; (prompt "Add path to tools in \"S:user-startup\"")
; (help "This will add the ttflib tools to the system search path to make them more easily accessible.")
; (command "path " #tool-dest " add\n")
; )
;)